Component org.nuxeo.ecm.platform.templates.convert.plugins
In bundle org.nuxeo.template.manager
Requirements
Resolution Order
829
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.templates.convert.plugins">
<require>org.nuxeo.ecm.platform.convert.plugins</require>
<extension target="org.nuxeo.ecm.core.convert.service.ConversionServiceImpl"
point="converter">
<converter name="any2odt" class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter">
<destinationMimeType>application/vnd.oasis.opendocument.text</destinationMimeType>
<sourceMimeType>text/x-web-markdown</sourceMimeType>
<sourceMimeType>text/xml</sourceMimeType>
<sourceMimeType>text/html</sourceMimeType>
<sourceMimeType>text/plain</sourceMimeType>
<sourceMimeType>text/rtf</sourceMimeType>
<!-- Microsoft office documents -->
<sourceMimeType>application/msword</sourceMimeType>
<!-- Microsoft office 2007 documents -->
<sourceMimeType>
application/vnd.openxmlformats-officedocument.wordprocessingml.document
</sourceMimeType>
<!-- OpenOffice.org 1.x documents -->
<sourceMimeType>application/vnd.sun.xml.writer</sourceMimeType>
<sourceMimeType>application/vnd.sun.xml.writer.template</sourceMimeType>
<!-- OpenOffice.org 2.x documents -->
<sourceMimeType>application/vnd.oasis.opendocument.text</sourceMimeType>
<sourceMimeType>
application/vnd.oasis.opendocument.text-template
</sourceMimeType>
<!-- WordPerfect -->
<sourceMimeType>application/wordperfect</sourceMimeType>
<parameters>
<parameter name="CommandLineName">soffice</parameter>
<parameter name="format">odt</parameter>
</parameters>
</converter>
<converter name="any2docx" class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter">
<destinationMimeType>application/vnd.openxmlformats-officedocument.wordprocessingml.document</destinationMimeType>
<sourceMimeType>text/xml</sourceMimeType>
<sourceMimeType>text/html</sourceMimeType>
<sourceMimeType>text/plain</sourceMimeType>
<sourceMimeType>text/rtf</sourceMimeType>
<!-- Microsoft office documents -->
<sourceMimeType>application/msword</sourceMimeType>
<!-- Microsoft office 2007 documents -->
<sourceMimeType>
application/vnd.openxmlformats-officedocument.wordprocessingml.document
</sourceMimeType>
<!-- OpenOffice.org 1.x documents -->
<sourceMimeType>application/vnd.sun.xml.writer</sourceMimeType>
<sourceMimeType>application/vnd.sun.xml.writer.template</sourceMimeType>
<!-- OpenOffice.org 2.x documents -->
<sourceMimeType>application/vnd.oasis.opendocument.text</sourceMimeType>
<sourceMimeType>
application/vnd.oasis.opendocument.text-template
</sourceMimeType>
<!-- WordPerfect -->
<sourceMimeType>application/wordperfect</sourceMimeType>
<parameters>
<parameter name="CommandLineName">soffice</parameter>
<parameter name="format">docx</parameter>
</parameters>
</converter>
<converter name="any2doc" class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter">
<destinationMimeType>application/msword</destinationMimeType>
<sourceMimeType>text/xml</sourceMimeType>
<sourceMimeType>text/html</sourceMimeType>
<sourceMimeType>text/plain</sourceMimeType>
<sourceMimeType>text/rtf</sourceMimeType>
<!-- Microsoft office documents -->
<sourceMimeType>application/msword</sourceMimeType>
<!-- Microsoft office 2007 documents -->
<sourceMimeType>
application/vnd.openxmlformats-officedocument.wordprocessingml.document
</sourceMimeType>
<!-- OpenOffice.org 1.x documents -->
<sourceMimeType>application/vnd.sun.xml.writer</sourceMimeType>
<sourceMimeType>application/vnd.sun.xml.writer.template</sourceMimeType>
<!-- OpenOffice.org 2.x documents -->
<sourceMimeType>application/vnd.oasis.opendocument.text</sourceMimeType>
<sourceMimeType>
application/vnd.oasis.opendocument.text-template
</sourceMimeType>
<!-- WordPerfect -->
<sourceMimeType>application/wordperfect</sourceMimeType>
<parameters>
<parameter name="CommandLineName">soffice</parameter>
<parameter name="format">doc</parameter>
</parameters>
</converter>
</extension>
</component>